{{ define "header" }}
<header class="p-3 text-bg-dark">
    <div class="container">
        <div class="d-flex flex-wrap align-items-center justify-content-center justify-content-lg-start">
            <a class="navbar-brand" href="#">这是示例</a>

            <ul class="nav col-12 col-lg-auto px-3 me-lg-auto mb-2 justify-content-center mb-md-0">
                <li><a href="/" class="nav-link px-2 text-secondary">首页</a></li>
                <li><a href="#" class="nav-link px-2 text-white">博客</a></li>
            </ul>

            <div class="text-end">
                <a type="button" href="/login" class="btn btn-outline-light me-2">登录</a>
                <a type="button" href="/register" class="btn btn-warning">注册</a>
            </div>
        </div>
    </div>
</header>
{{ end }}